@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../fonts/glyphicons-halflings-regular.eot');
    src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.danmu-player {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

.danmu-player:before,
.danmu-player:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.danmu-player input:focus {
    outline: 0;
}

.danmu-player input[type="textarea"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 35%;
}

.danmu-player input {
    font-family: "Microsoft YaHei" !important;
}

.danmu-player input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    padding: 2px;
    border: 2px solid dodgerblue;
    border-radius: 50%;
    display: inline-block;
    width: 12px;
    height: 12px;
    position: relative;
    cursor: pointer;
}

.danmu-player input[type="radio"]:checked {
    border-color: dodgerblue;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 175, 233, .6);
    -o-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 175, 233, .6);
    -ms-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.danmu-player input[type="radio"]:checked::before {
    content: "\0020";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    left: 50%;
    top: 50%;
    margin-left: -3px;
    margin-top: -3px;
    border-radius: 50%;
    background-color: dodgerblue;
}

.danmu-player input[type="range"] {
    /*-webkit-box-shadow: 0 1px 0 0#424242, 0 1px 0 #060607 inset, 0 2px 10px 0 black inset, 1px 0px 2px rgba(0, 0, 0, 0.4) inset, 0 0px 1px rgba(0, 0, 0, 0.6) inset;*/
    /*margin-top: 2px;*/
    background-color: slategrey;
    /*border-radius: 1px;*/
    /*width: 400px;*/
    /*border:  white solid 5px;*/
    top: 17px;
    -webkit-appearance: none;
    height: 2px !important;
    cursor: pointer;
}

.danmu-player input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    cursor: default;
    top: -5px;
    height: 10px;
    width: 10px;
    /*transform: translateY(-4px);*/
    background-color: dodgerblue;
    border-radius: 5px;
    /*-webkit-box-shadow: 0 -1px 1px black inset;*/
}

.danmu-player input[type=range]::-moz-range-thumb {
    -webkit-appearance: none;
    cursor: default;
    top: -5px;
    height: 10px;
    width: 10px;
    /*transform: translateY(-4px);*/
    background-color: dodgerblue;
    border-radius: 5px;
    border: none;
    /*-webkit-box-shadow: 0 -1px 1px black inset;*/
}

.danmu-player {
    position: relative;
    /* background-color: black;
    box-shadow: rgb(85, 85, 85) 0px 0px 3px; */
    font-family: "Microsoft YaHei" !important;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.danmu-player .danmu-div {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: calc(100% - 45px) !important;
    z-index: 998 !important;
}

.danmu-player .danmu-player-load {
    display: none;
    position: absolute;
    width: 50px;
    height: 50px;
    left: 50%;
    margin-left: -25px;
    background-color: white;
    opacity: 0.8;
    border-radius: 4px;
    z-index: 1002;
    top: 50%;
    margin-top: -50px;
    padding: 5px;
}

.danmu-player .danmu-player-ctrl {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 56px;
    width: 100%;
    background-color: white;
}

.danmu-player .danmu-video {
    width: 100%;
    height: calc(100% - 56px);
}

.danmu-player .ctrl-progress {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #AAAAAA;
    cursor: pointer;
    z-index: 1000;
}

.danmu-player .ctrl-progress .current {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 0;*/
    height: 100%;
    background-color: lightskyblue;
    /*transition: width .1s;*/
    border-bottom-right-radius: 5px;
    ;
    border-top-right-radius: 5px;
    ;
    z-index: 1003;
}

.danmu-player .danmaku {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

.danmu-player .ctrl-progress .buffered {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 0;*/
    height: 100%;
    background-color: slategrey;
    z-index: 1002;
}

.danmu-player .ctrl-progress .progress-handle {
    position: absolute;
    top: -1px;
    right: -7px;
    width: 14px;
    height: 14px;
    line-height: 5px;
    background-color: dodgerblue;
    color: dodgerblue;
    /*box-shadow: -1px -1px white;*/
    border-radius: 50%;
    border-color: dodgerblue;
    z-index: 1004;
    overflow: visible;
    box-shadow: 0 0 2px #fff;
}

.danmu-player .progress-handle span {
    vertical-align: middle;
    font-size: 12px;
    position: relative;
    top: -1px;
    left: 2px;
}

.danmu-player .ctrl-main {
    width: 100%;
    height: 35px;
    line-height: 35px;
    color: slategrey;
    vertical-align: middle;
    /* display: none; */
}

.danmu-player .ctrl-btn {
    display: inline-block;
    height: 100%;
    float: left;
    width: auto;
}

.danmu-player .play-btn {
    width: 50px;
    height: 100%;
    background-color: dodgerblue;
    color: white;
    text-align: center;
    cursor: pointer;
}

.danmu-player .play-btn:hover {
    background-color: #222;
}

.danmu-player .time-text {
    font-size: 14px;
    height: 100%;
    cursor: default;
}

.danmu-player .current-time {
    color: dodgerblue;
    width: auto;
    padding-left: 4%;
}

.danmu-player .slash {
    width: auto;
}

.danmu-player .duration {
    padding-right: 4%;
}

.danmu-player .opt-btn {
    color: dodgerblue;
    padding-right: 2px;
    cursor: pointer;
    width: 24px;
    height: 20px;
    background: url(../img/living-danmu.png) no-repeat;
    background-size: cover;
    /* margin-top: 15px;
    margin-right: 10px; */
}

.danmu-player .opt-btn:hover {
    color: #222222;
}

.danmu-player .danmu-input {
    margin-top: 5px;
    /* height: 36px;
    line-height: 25px; */
    /* width: 40%; */
    /* border: 1px slategrey solid; */
    /* background: #f4f4f4; */
    /* border-radius: 18px 0px 0px 18px; */
    /* padding-left: 10px; */
}

.danmu-player .danmu-input:focus {
    border: 1px dodgerblue solid;
    border-right: none;
}

.danmu-player .send-btn {
    margin-top: 5px;
    padding: 0 21px;
    height: 36px;
    line-height: 36px;
    color: white;
    background-color: dodgerblue;
    background: #4DA7D4;
    border-radius: 0px 18px 18px 0px;
    /* line-height: 25px; */
    cursor: pointer;
}

.danmu-player .send-btn:hover {
    background-color: #222;
}

.danmu-player .ctrl-btn-right {
    width: 8%;
    margin: auto;
    padding-right: 5px;
    padding-left: 5px;
    display: inline-block;
    height: 100%;
    float: right;
    text-align: center;
    cursor: pointer;
    color: slategrey;
}

.danmu-player .opacity {
    position: relative;
    right: 10px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 12% !important;
    max-width: 150px;
}

.danmu-player .danmu-op {
    width: 100%;
    position: relative;
    padding: 0 !important;
}

.danmu-player .ctrl-btn-right:hover {
    color: #111;
}

.danmu-player .ctrl-btn-right-active {
    color: #222;
}

.danmu-player .full-screen {
    margin-right: 5px;
}

.danmu-player-full-screen {
    position: fixed ! important;
    z-index: 997 ! important;
    top: 0 ! important;
    left: 0 ! important;
    margin: 0 !important;
    height: 100vh ! important;
    width: 100vw ! important;
}

.danmu-player-tip {
    /*display:none;*/
}

.iplay {
    width: 13px;
    height: 14px;
    margin: 4px auto;
    display: block;
    /* background: url(../img/icon-play.png) no-repeat; */
    background-size: contain;
}

.ipause {
    width: 20px;
    height: 24px;
    margin: 4px auto;
    display: block;
    background: url(../img/icon.png) no-repeat 0 -34px
}


/* 改的样式 */

#send_btn {
    position: fixed;
    right: 22.5%;
    top: 790px;
    width: 72px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #4DA7D4;
    border-radius: 18px;
    font-size: 14px;
    font-family: PingFang SC;
    color: #FFFFFF;
    cursor: pointer;
}

#danmu_text {
    position: fixed;
    right: 22.5%;
    top: 678px;
    width: 320px;
    height: 100px;
}

@media screen and (min-device-width: 1800px) and (max-device-width: 1920px) {
    #danmu_text {
        position: fixed;
        right: 13%;
        top: 569px;
        width: 320px;
        height: 100px;
    }
    #living_danmu {
        position: fixed;
        right: 15%;
        top: 678px;
        width: 24px;
        height: 20px;
    }
    #danmupfontTip {
        position: fixed;
        right: 27.5%;
        top: 502px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 10%);
        z-index: 9999;
        display: none;
        padding: 20px 20px;
    }
    #send_btn {
        position: fixed;
        right: 13.5%;
        top: 678px;
        width: 72px;
        height: 36px;
        line-height: 36px;
        text-align: center;
        background: #4DA7D4;
        border-radius: 18px;
        font-size: 14px;
        font-family: PingFang SC;
        color: #FFFFFF;
        cursor: pointer;
    }
}


/* @media screen (min-width: 1920px) and (max-width: 1920px) {
    body {
        background-color:lightblue;
    }
}  */

#living_danmu {
    position: fixed;
    right: 34%;
    top: 799px;
    width: 24px;
    height: 20px;
}

#danmupfontTip {
    position: fixed;
    right: 27.5%;
    top: 502px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 10%);
    z-index: 9999;
    display: none;
    padding: 20px 20px;
}